﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VehicleScale.Models
{
    public class ProductModel : ModelBase
    {
        #region Properties
        private string _productID;
        public string ProductID
        {
            get { return _productID; }
            set
            {
                if (_productID != value)
                {
                    _productID = value;
                }
            }
        }

        private string _productName;
        public string ProductName
        {
            get { return _productName; }
            set
            {
                if (_productName != value)
                {
                    _productName = value;
                }
            }
        }

        private string _description;
        public string Description
        {
            get { return _description; }
            set
            {
                if (_description != value)
                {
                    _description = value;
                }
            }
        }

        private string _unit;
        public string Unit
        {
            get { return _unit; }
            set
            {
                if (_unit != value)
                {
                    _unit = value;
                }
            }
        }

        private string _categoryID;
        public string CategoryID
        {
            get { return _categoryID; }
            set
            {
                if (_categoryID != value)
                {
                    _categoryID = value;
                }
            }
        }

        private IList<VehicleScaleModel> _vehicleScales;
        public IList<VehicleScaleModel> VehicleScales
        {
            get { return _vehicleScales; }
            set
            {
                if (_vehicleScales != value)
                {
                    _vehicleScales = value;
                }
            }
        }

        private CategoryModel _category;
        public CategoryModel Category
        {
            get { return _category; }
            set
            {
                if (_category != value)
                {
                    _category = value;
                }
            }
        }
        #endregion
    }
}
